artifact

object artifact

Wrappers for @actions/artifact. Creates and uses one client.

Functions

downloadAllArtifacts
Link copied to clipboard
suspend fun downloadAllArtifacts(path: Path? = null): List<DownloadResponse>
Downloads all artifacts associated with a run.
suspend fun downloadAllArtifacts(path: String? = null): List<DownloadResponse>
Downloads all artifacts associated with a run.
downloadArtifact
Link copied to clipboard
suspend fun downloadArtifact(name: String, path: Path? = null, createArtifactFolder: Boolean = false): DownloadResponse
Downloads a single artifact associated with a run
suspend fun downloadArtifact(name: String, path: String? = null, createArtifactFolder: Boolean = false): DownloadResponse
Downloads a single artifact associated with a run.
uploadArtifact
Link copied to clipboard
suspend fun uploadArtifact(name: String, files: List<Path>, rootDirectory: Path, continueOnError: Boolean = true, retentionDays: Int? = null): UploadResponse
Uploads an artifact
suspend fun uploadArtifact(name: String, files: List<String>, rootDirectory: String, continueOnError: Boolean = true, retentionDays: Int? = null): UploadResponse
Uploads an artifact

Sources

js source
Link copied to clipboard